package top.shen33.yang.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 * 系统参数
 * </p>
 *
 * @author oreilly
 * @since 2018-09-13
 */
public class SysParam extends Model<SysParam> {

private static final long serialVersionUID = 1L;


                @TableId(value = "sid", type = IdType.AUTO)
                
    private Integer sid;
    /**
     * key标识
     */

        
    @Excel(name = "key标识",width = 20,orderNum = "0")
    private String skey;
    /**
     * 说明
     */

        
    @Excel(name = "说明",width = 20,orderNum = "0")
    private String note;
    /**
     * 值
     */

        
    @Excel(name = "值",width = 20,orderNum = "0")
    private String svalue;

        
    private Date ctime;


    public Integer getSid() {
            return sid;
    }

    public void setSid(Integer sid) {
            this.sid = sid;
    }

    public String getSkey() {
            return skey;
    }

    public void setSkey(String skey) {
            this.skey = skey;
    }

    public String getNote() {
            return note;
    }

    public void setNote(String note) {
            this.note = note;
    }

    public String getSvalue() {
            return svalue;
    }

    public void setSvalue(String svalue) {
            this.svalue = svalue;
    }

    public Date getCtime() {
            return ctime;
    }

    public void setCtime(Date ctime) {
            this.ctime = ctime;
    }

    @Override
    protected Serializable pkVal() {
            return this.sid;
    }

    @Override
    public String toString() {
        return "SysParam{" +
                ", sid=" + sid +
                ", skey=" + skey +
                ", note=" + note +
                ", svalue=" + svalue +
                ", ctime=" + ctime +
        "}";
    }
}
